package com.fh.shop.admin.mapper.brand;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fh.shop.admin.param.brand.BrandQueryParam;
import com.fh.shop.admin.po.brand.Brand;

import java.util.List;

public interface IBrandMapper extends BaseMapper<Brand> {
    void addBrand(Brand brand);

    Long findCount(BrandQueryParam brandQueryParam);

    List<Brand> findBrandlist(BrandQueryParam brandQueryParam);

    Brand findBrand(Long id);

    void editBrand(Brand brand);

    void deleteBrand(Long id);

    List<Brand> findBatchBrand(List<Long> idList);

    void deleteBatchBrand(List<Long> idList);
}
